<%@ page import="org.ispider.Search"%>
<!doctype html>
<html>
<head>
<meta name="layout" content="bootstrap">
<g:set var="entityName"
	value="${message(code: 'search.label', default: 'Search')}" />
<title><g:message code="default.create.label"
		args="[entityName]" /></title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"
	type="text/javascript"></script>
<script>
	(function() {
		var cx = '012692812087107439593:kdoezhgfk04';
		var gcse = document.createElement('script');
		gcse.type = 'text/javascript';
		gcse.async = true;
		gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:')
				+ '//www.google.com/cse/cse.js?cx=' + cx;
		var s = document.getElementsByTagName('script')[0];
		s.parentNode.insertBefore(gcse, s);
	
	})();
  </script>


</head>
<body>


	<form action="index" id="searchbox">
		<div>
			<input type="hidden" name="cx"
				value="partner-pub-012692812087107439593:kdoezhgfk04" /> <input
				type="hidden" name="cof" value="FORID:10" /> <input type="hidden"
				name="ie" value="ISO-8859-1" />
			<div class="mydiv input-append formcenter ">
				<div class="marketing">
                   
					<h1>&nbsp;Spider</h1>
					<h4>Want to shop online in India? Start your search here!</h4>
				</div>
				<g:textField id="q" style="width: 580px; font-size: 15px;" name="q"
					size="80" type="text" id="search"
					placeholder="e.g. 'iphone', 'samsung note 2'" value="${qval}" /> <input
					value="Search" class="btn btn-success" name="sa" size="80"
					type="submit" id="submit" onClick="javascript:$.scrollTo('100');" />
					
					<g:actionSubmit class="btn btn-primary" action="searchSocial" value="search social networks"></g:actionSubmit>
	           	
			</div>
		</div>
	</form>
  <div id="sociallink"></div>

	<gcse:searchresults-only>
	</gcse:searchresults-only>

</body>
</html>
